﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace SverigesRadio.SverigesRadioApp.Model
{
    [XmlRoot("RightNowInfo")]
    public class BroadcastInfo
    {
        [XmlElement("Channel")]
        public List<BroadcastInfoChannel> Channels { get; set; }
    }

    public class BroadcastInfoChannel
    {
        [XmlAttribute]
        public string Id { get; set; }

        [XmlElement]
        public string ProgramTitle { get; set; }

        [XmlElement]
        public string ProgramInfo { get; set; }

        [XmlElement]
        public string ProgramURL { get; set; }


        [XmlElement]
        public string NextProgramTitle { get; set; }

        [XmlElement]
        public string NextProgramStartTime { get; set; }

        [XmlElement]
        public string NextProgramStopTime { get; set; }

        [XmlElement]
        public string NextProgramURL { get; set; }
        
    }


}